package com.ziyun.erp.modules.member.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.member.entity.UserOrderCommissionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户订单中的佣金(审核中的佣金)
 *
 * @author guizhao
 * @email ...
 * @date 2018-08-29 10:59:35
 */
public interface UserOrderCommissionDao extends BaseMapper<UserOrderCommissionEntity> {

    List<UserOrderCommissionEntity> selectFreezeCommission();

    void updateByMap(@Param("map") Map<String, Object> map, @Param("orderId") Long orderId);
}
